From e5c953af87ef1e882a984ab6b23a8fa170d29cd9 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Wed, 25 Jan 2006 12:34:02 +0100 Subject: [PATCH] Fix inline asm hypercall argument parameter indexes. Signed-off-by: Keir Fraser --- linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/hypercall.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/hypercall.h b/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/hypercall.h index cd255f646a..7c3acc4123 100644 --- a/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/hypercall.h +++ b/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/hypercall.h @@ -90,7 +90,7 @@ ({ \ long __res, __ign1, __ign2, __ign3; \ asm volatile ( \ - "movq %8,%%r10; " \ + "movq %7,%%r10; " \ "call hypercall_page + ("STR(__HYPERVISOR_##name)" * 32)"\ : "=a" (__res), "=D" (__ign1), "=S" (__ign2), \ "=d" (__ign3) \ @@ -104,7 +104,7 @@ ({ \ long __res, __ign1, __ign2, __ign3; \ asm volatile ( \ - "movq %8,%%r10; movq %9,%%r8; " \ + "movq %7,%%r10; movq %8,%%r8; " \ "call hypercall_page + ("STR(__HYPERVISOR_##name)" * 32)"\ : "=a" (__res), "=D" (__ign1), "=S" (__ign2), \ "=d" (__ign3) \ -- 2.30.2